package com.itstyle.seckill.common.designPattern.fangwenzhe;

import java.time.LocalDate;

public class Candy extends Product implements Acceptable {
    public Candy(String name, LocalDate producedDate, float price) {
        super(name, producedDate, price);
    }

    @Override
    public void accept(IVisitor iVisitor) {
        iVisitor.visit(this);
    }
}
